<script setup lang="ts">
import test1 from './test1.vue'

defineProps(['modelValue'])
const emit = defineEmits(['update:modelValue'])

function handleKeywordChange(val: any) {
  // 触发子组件的 update:modelValue 事件
  emit('update:modelValue', val)
}
</script>

<template>
  <test1
    :model-value="modelValue"
    placeholder="test" @update:model-value="handleKeywordChange"
  />
</template>

<style scoped lang='SCSS'>

</style>
